# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=epicwebhoneypot
pkgver=2.0a
pkgrel=3
groups=('blackarch' 'blackarch-webapp' 'blackarch-defensive'
        'blackarch-honeypot')
pkgdesc='Tool which aims to lure attackers using various types of web vulnerability scanners by tricking them into believing that they have found a vulnerability on a host.'
arch=('any')
url='http://sourceforge.net/projects/epicwebhoneypot/'
license=('GPL2')
source=("http://downloads.sourceforge.net/project/epicwebhoneypot/epicwebhoneypot/epicwebhoneypot-2.0a/epicwebhoneypot-$pkgver.rar")
sha512sums=('6d3988c560f12dcb1f6657a74b4e30d746ad62013e648f9a259e37c06bd676102f398c7678671f719a27f8b13d038f5b8666b4023295a45ad4c8f1f46d41c7e5')

package() {
  cd "$pkgname-$pkgver"

  install -dm 755 "$pkgdir/usr/share/doc/$pkgname"

  install -Dm 644 index.html "$pkgdir/usr/share/$pkgname/index.html"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" CHANGELOG.txt README.txt \
    MalPublic.asc TODO.txt
  install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

